package com.paw.ruoyi.admin.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;
import com.paw.ruoyi.admin.common.annotion.Excel;
import com.paw.ruoyi.admin.common.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

/**
 * 短信发送记录对象 t_sms_send_log
 *
 * @author admin
 * @date 2022-03-13
 */
@Data
@TableName(value = "t_sms_send_log")
public class SmsSendLog extends BaseEntity{

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "f_id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 模板id
     */
    @TableField(value = "f_template_id")
    @Excel(name = "模板id")
    @ApiModelProperty(value = "模板id")
    private Long templateId;

    /**
     * 模板编号
     */
    @TableField(value = "f_template_code")
    @Excel(name = "模板编号")
    @ApiModelProperty(value = "模板编号")
    private String templateCode;

    /**
     * 发送手机号
     */
    @TableField(value = "f_phone")
    @Excel(name = "发送手机号")
    @ApiModelProperty(value = "发送手机号")
    private String phone;

    /**
     * 模板名称
     */
    @TableField(value = "f_template_name")
    @Excel(name = "模板名称")
    @ApiModelProperty(value = "模板名称")
    private String templateName;

    /**
     * 发送参数
     */
    @TableField(value = "f_params")
    @Excel(name = "短信参数")
    @ApiModelProperty(value = "短信参数")
    private String smsParams;

    /**
     * 发送状态
     */
    @TableField(value = "f_send_status")
    @Excel(name = "发送状态")
    @ApiModelProperty(value = "发送状态")
    private Integer sendStatus;

    /**
     * 返回消息
     */
    @TableField(value = "f_response_message")
    @Excel(name = "返回消息")
    @ApiModelProperty(value = "返回消息")
    private String responseMessage;



}
